local function test_sort1()
    local a = { 1, 3, 6, 5, 3 }

    local function sortFunc(a, b)
        return a <= b
    end

    table.sort(a, sortFunc)

    local s = table.concat(a, "-")
    print(s)
end

local function test_sort2()
    local a = { 0, 1, 3, 0, 6, 5, 3 }
    local function sortFunc(a, b)
        if a == 0 or b == 0 then
            return a < b
        else
            return a > b
        end
    end

    table.sort(a, sortFunc)

    local s = table.concat(a, "-")
    print(s)
end

return function()
    print("===>Test: lua_sort")
    -- test_sort1()
    test_sort2()
end
